home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-21
/
dvxtec.zip
/
DOS2IRIX.TEC
< prev
next >
Wrap
Text File
|
1992-03-31
|
4KB
|
109 lines
ID:F2 Porting DOS fonts to the IRIX X Window System
Quarterdeck Technical Note #412
by Kris Williams & Mark Welinder
How to port DOS fonts to the IRIX Unix X Window System
This document explains the procedures for porting the DESQview/X DOS
fonts over to your IRIX workstation. If you are or will be running DOS
applications to be displayed on your IRIX workstation, it would be more
aesthetically correct to use the fixed DOS fonts which where provided
with DESQview/X.
To follow the steps covered in this document you will first need to have
installed DESQview/X, and configured your TCP/IP networking software on
both IRIX workstation, and the DOS DESQview/X PC. It is only necessary
to copy the font files to the IRIX workstation once.
THE PROCEDURE
Is the X Window System configured on your IRIX workstation? You will
need to determine whether or not the X Window System is installed on
your IRIX workstation before continuing with this document.
Have you installed DESQview/X on your DOS PC? It is necessary to have
DESQview/X installed on the DOS machine before continuing with this
document. You may determine this by looking in the \DVX subdirectory
for the file DESQVIEW.DVO. If this file exists, DESQview/X is installed,
and you may continue. If not you will need to reference you DESQview/X
installation guide for before continuing.
CONVERTING THE FONT DESCRIPTION FILES
Before moving the PC fonts over to the IRIX workstation, you will need
to convert the .bdf font files to .snf font files. This would be done
by typeing the following series of commands:
cd \DVX\BDF <─┘
..\bdftosnf pc8x8.bdf > pc8x8.snf
..\bdftosnf pc8x14.bdf > pc8x14.snf
..\bdftosnf pc8x16.bdf > pc8x16.snf
TRANSFERING THE FONT DEFINITION FILES
If you haven't yet configured FTP's PCTCP software you'll need to
reference the green PCTCP manual before continuing with this document.
You will need to switch to the \FTP subdirectory on the DOS machine
where the PCTCP software is configured. This may be done with the
following command:
C:\> cd \ftp <─┘
Then we'll use the FTP (File Transfere Protocol) utility to move the
font description files up to the IRIX workstation. This can be done
with the following commands:
C:\FTP> ftp <─┘
ftp> login: <username> <─┘
ftp> password: <password> <─┘
ftp> mput \DVX\BDF\pc*.snf <─┘
ftp> quit <─┘
In the above command <username> would be your username on the IRIX
workstation, and <password> is the password required for <username> to
successfully log on to the IRIX workstation. After these commands are
performed, the font description files are ready to be aliased, and used
by the X Window System on the IRIX workstation.
ALIASING THE FONTS
IRIX's X Window System lets you assign aliases to fonts so that you can
refer to a font without having to type it's full name. To create a font
alias, follow the following steps:
1. Log into the system as root.
2. Edit the file named fonts.dir. Usually, this directory is called
either 75dpi, 100dpi or misc in the /usr/lib/X11/fonts subdirectory.
This directory must be in the search path.
3. Edit fonts.dir so that it contains at least one line with the
following format:
aliasname fontname
In this line, aliasname is the name that is used to reference the
font, and fontname is the fullname of the font. So, to add the pc
fonts to this font directory, you will need to append the following
lines to the fonts.dir file:
pc8x8.snf -quarterdeck-fixed-bold-r-normal--8-80-75-75-c-80-iso8859-1
pc8x14.snf -quarterdeck-fixed-bold-r-normal--14-140-75-75-c-80-iso8859-1
pc8x16.snf -quarterdeck-fixed-bold-r-normal--16-160-75-75-c-80-iso8859-1
4. If you performed step 3 from an X session, you must reset the
server's font search path. You can do this either by stopping the IRIX
X Window System and then restarting it, or by entering the following
command from and odtterm window:
xset fp rehash
If you performed step 3 directly from the operating system command line
(and the X Window System was not running), there is no need to reset the
server. The changes that you made to the fonts.dir file are incorporated
automatically the next time you start the X Window System.
Copyright (C) 1991 by Quarterdeck Office Systems
* * * E N D O F F I L E * * *